* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none !important;
    font-style: normal;
}

// 导航栏
.box {
    height: 50px;
    background-color: #222;
    .container {
        padding: 0;
        // 导航栏
        .navbar-header {
            .navbar-brand {
                padding: 0 15px;
                display: flex;
                align-items: center;
            }
        }
        .navbar {
            border: none;
            margin-bottom: 0;
        }
        .navbar-wrapper {
            .navbar-brand {
                padding: 0 15px;
                >img {
                    width: 130px;
                }
            }
        }
    }
}

// 第一部分内容
.box1 {
    .container {
        // 第一行
        .row_a {
            .md_a {
                padding-left: 0;
                padding-right: 0;
                h2 {
                    margin-top: 2.5rem;
                    margin-bottom: 2.5rem;
                    color: #ff986a;
                }
            }
        }
        // 第二行
        .row_b {
            .col-md-4 {
                padding-left: 0;
                a {
                    display: inline-block;
                    position: relative;
                    p {
                        position: absolute;
                        bottom: 0;
                        width: 18.875rem;
                        height: 2.625rem;
                        background-color: rgba(0, 0, 0, .5);
                        margin-bottom: 0;
                        color: #fff;
                        text-align: center;
                        line-height: 2.625rem;
                    }
                }
            }
        }
        // 第三行
        .row_c {
            margin-top: 3.75rem;
            .col-md-3 {
                padding-left: 0;
                a {
                    display: inline-block;
                }
            }
            .col-md-9 {
                position: relative;
                a {
                    position: absolute;
                    bottom: -1.875rem;
                    right: 0;
                    display: inline-block;
                    width: 6.25rem;
                    height: 1.875rem;
                    border: 1px solid #ff6900;
                    border-radius: 1.25rem;
                    text-align: center;
                    line-height: 1.875rem;
                    color: #ff6900;
                    &:hover {
                        background-color: #ff6900;
                        color: #fff;
                    }
                }
            }
        }
        //第四行
        .row_d {
            margin-top: 9.75rem;
            margin-bottom: 1.5625rem;
            .col-md-12 {
                display: flex;
                justify-content: center;
                .dibu {
                    height: 1.875rem;
                    .md_aa {
                        border: 1px solid #bea2a2;
                        // box-sizing: border-box;
                        line-height: 1.875rem;
                        text-align: center;
                        box-sizing: border-box;
                        a {
                            color: #000;
                        }
                    }
                    .md_aa:nth-of-type(3) {
                        background-color: #e34637;
                        a {
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}

//底部导航栏
.box6_nav {
    background-color: #3b3b3b;
    .container {
        .row {
            margin: 1.875rem 0 1.875rem;
            .col-md-9 {
                a {
                    color: #75767b;
                    font-size: .875rem;
                }
                p {
                    color: #75767b;
                    font-size: .75rem;
                }
            }
            .col-md-3 {
                display: flex;
                justify-content: space-between;
                .nn {
                    &:hover .zz {
                        display: block;
                    }
                    position: relative;
                    .zz {
                        position: absolute;
                        top: -10.5625rem;
                        left: -2.125rem;
                        display: none;
                    }
                }
            }
        }
    }
}

// ipad端 >= 768px   < 992px
@media screen and (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 14px;
    }
    .box {
        height: 100%;
        .navbar-wrapper {
            .navbar {
                margin-bottom: 0;
            }
            // 语言
            #navbar {
                .dropdown {
                    position: absolute;
                    top: 0;
                    right: 80px;
                }
            }
        }
    }
    // 第一部分内容
    .box1 {
        .container {
            // 第二行
            .row_b {
                .sm_a {
                    margin-top: 20px;
                }
            }
            // 第四行
            .row_d {
                .col-md-12 {
                    .dibu {
                        display: flex;
                    }
                }
            }
        }
    }
    // 底部导航栏
    .box6_nav {
        .container {
            .row {
                .col-sm-3 {
                    .col-xs-12 {
                        &:nth-of-type(3) {
                            padding-right: 0;
                        }
                    }
                }
                .col-md-3 {
                    display: flex;
                    justify-content: space-between;
                    .nn {
                        &:hover .zz {
                            display: block;
                        }
                        position: relative;
                        .zz {
                            position: absolute;
                            top: -11.5625rem;
                            left: -2.125rem;
                            display: none;
                        }
                    }
                }
            }
        }
    }
}

// 移动端 < 768px
@media screen and (max-width: 767px) {
    html {
        font-size: 12px;
    }
    .box {
        height: 100%;
        .navbar-wrapper {
            .container {
                .navbar {
                    margin-bottom: 0;
                }
                // 语言
                #navbar {
                    position: absolute;
                    left: 0;
                    top: 50px;
                    background-color: #222;
                    width: 100vw;
                }
            }
        }
    }
    //第一部分内容
    .box1 {
        .container {
            h2 {
                margin-top: 10px !important;
                margin-bottom: 10px !important;
                text-align: center;
            }
            //第二行
            .row_b {
                .col-xs-12 {
                    text-align: center;
                    margin-top: 10px;
                }
            }
            // 第三个
            .row_c {
                .col-md-3 {
                    a {
                        display: none;
                    }
                }
            }
            // 第四行
            .row_d {
                .col-md-12 {
                    .dibu {
                        display: flex;
                        .md_aa:nth-of-type(2),
                        .md_aa:nth-of-type(7) {
                            padding: 0;
                        }
                    }
                }
            }
        }
    }
    // 底部导航栏
    .box6_nav {
        .container {
            .row {
                .col-xs-3 {
                    flex-wrap: wrap;
                    img {
                        margin-top: .625rem;
                    }
                }
            }
        }
    }
    // 底部导航栏
    .box6_nav {
        .container {
            .row {
                .col-xs-3 {
                    flex-wrap: wrap;
                    img {
                        margin-top: .625rem;
                    }
                }
                .col-md-3 {
                    display: flex;
                    justify-content: space-between;
                    .nn {
                        &:hover .zz {
                            display: block;
                        }
                        position: relative;
                        .zz {
                            position: absolute;
                            top: -17.5625rem;
                            left: -2.5rem;
                            display: none;
                        }
                    }
                }
            }
        }
    }
}